<div style="display:inline;">
{if count($amici) != 0}
{foreach from=$amici item=amico}
<div class="amico">
<a href="index.php?c=CUtente&a=mostraProfilo&username={$amico->getUsername()|urlencode}"><img src="images/utenti/Sagoma.jpg" alt="" style="width:60px"/></a>
<p class="nome">{$amico->getNome()|escape} {$amico->getCognome()|escape}</p>
</div>
{/foreach}
{else}
<p>Ancora non hai amici!</p>
{/if}
</div>